package com.emm.yixun.mobile.ui.personal;

import me.imid.swipebacklayout.lib.SwipeBackLayout;
import me.imid.swipebacklayout.lib.app.SwipeBackActivity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import android.widget.TextView;

import com.emm.yixun.mobile.R;
import com.emm.yixun.mobile.base.BaseActivity;

/**
 * 
 * <p>
 * <b>Title：</b> 关于我们
 * </p>
 * <p>
 * <b>Description：</b>
 * </p>
 * 
 * @author tangxin
 * @date 2016年12月6日 下午4:12:03
 */
public class AboutActivty extends SwipeBackActivity {

	public static final String TAG = "AboutActivty";

	ImageView back_btn;

	TextView title_main;
	
	/** 侧滑关闭框架 */
	private SwipeBackLayout mSwipeBackLayout;

	@Override
	protected void onCreate(Bundle arg0) {
		super.onCreate(arg0);

		setContentView(R.layout.about_activity);
		
		SetSwipeBackLayout(mSwipeBackLayout);
		
		BaseActivity.activity = this;

		back_btn = (ImageView) findViewById(R.id.back_btn);
		back_btn.setVisibility(View.VISIBLE);
		
		SetRelativiLayoutPadding(R.id.main_head_top_rela);
		
		back_btn.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				finish();
			}
		});

		title_main = (TextView) findViewById(R.id.title_main);
		title_main.setText("关于我们");

	}

	@Override
	protected void onResume() {
		BaseActivity.activity = this;
		super.onResume();
	}

}
